document.getElementById('loginForm').addEventListener('submit', function(e) {
				            e.preventDefault();
				            const username = document.getElementById('username').value;
				            const password = document.getElementById('password').value;
				            
				            if (username && password) {
				                // 显示成功提示
				                const alertBox = document.getElementById('successAlert');
				                alertBox.style.display = 'block';
				                
				                // 3秒后跳转到首页
				                setTimeout(() => {
				            window.location.href ="new_file.html"// 目标页面
				                }, 1500);
				            } else {
				                alert('请输入用户名和密码');
				            }
				        });